package com.heiye.relation.api.api;

import com.heiye.framework.common.response.Response;
import com.heiye.relation.api.constant.ApiConstant;
import com.heiye.relation.api.dto.FindQuizFansTop3ByIdsReqDTO;
import com.heiye.relation.api.dto.FindQuizFansTop3ByIdsRspDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author: heiye
 * @date: 2025/07/16 下午2:53
 * @version: v1.0.0
 * @description: 问题关系业务
 */
@FeignClient(name = ApiConstant.SERVICE_NAME)
public interface QuizRelationApi {

    String PREFIX = "/quiz";

    @PostMapping(value = PREFIX + "/findQuizFansTop3ByIds")
    Response<FindQuizFansTop3ByIdsRspDTO> findQuizFansTop3ByIds(@Validated @RequestBody FindQuizFansTop3ByIdsReqDTO findQuizFansThreeByIdsReqDTO);
}
